using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DiemThiDauVaoEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: DiemThiDauVaoEntity</para>
	/// <para>Description: ClassDiemThiDauVaoEntity store data of table DiemThiDauVao</para>
	///</summary>

	[DataContract]
	public partial class DiemThiDauVaoEntity{


		private bool _InternalChangedIsNullDiemThiDauVao_ID=true;
		private bool _IsNullDiemThiDauVao_ID=true;
		private bool _InternalChangedIsNullKhachHangDotThi_ID=true;
		private bool _IsNullKhachHangDotThi_ID=true;
		private bool _InternalChangedIsNullMonThi_ID=true;
		private bool _IsNullMonThi_ID=true;
		private bool _InternalChangedIsNullDiem=true;
		private bool _IsNullDiem=true;
		private int _DiemThiDauVao_ID;
		private int _KhachHangDotThi_ID;
		private int _MonThi_ID;
		private double _Diem;
		[DataMember]
		public bool IsNullDiemThiDauVao_ID{
			get{return _IsNullDiemThiDauVao_ID;}
			set{if(!_InternalChangedIsNullDiemThiDauVao_ID)_IsNullDiemThiDauVao_ID=value;}
		}
		[DataMember]
		public bool IsNullKhachHangDotThi_ID{
			get{return _IsNullKhachHangDotThi_ID;}
			set{if(!_InternalChangedIsNullKhachHangDotThi_ID)_IsNullKhachHangDotThi_ID=value;}
		}
		[DataMember]
		public bool IsNullMonThi_ID{
			get{return _IsNullMonThi_ID;}
			set{if(!_InternalChangedIsNullMonThi_ID)_IsNullMonThi_ID=value;}
		}
		[DataMember]
		public bool IsNullDiem{
			get{return _IsNullDiem;}
			set{if(!_InternalChangedIsNullDiem)_IsNullDiem=value;}
		}
		[DataMember]
		public int DiemThiDauVao_ID{
			get{return _DiemThiDauVao_ID;}
			set{
				_DiemThiDauVao_ID=value;
				if(_DiemThiDauVao_ID!=null){
					_IsNullDiemThiDauVao_ID=false;
					_InternalChangedIsNullDiemThiDauVao_ID=true;
				}
			}
		}
		[DataMember]
		public int KhachHangDotThi_ID{
			get{return _KhachHangDotThi_ID;}
			set{
				_KhachHangDotThi_ID=value;
				if(_KhachHangDotThi_ID!=null){
					_IsNullKhachHangDotThi_ID=false;
					_InternalChangedIsNullKhachHangDotThi_ID=true;
				}
			}
		}
		[DataMember]
		public int MonThi_ID{
			get{return _MonThi_ID;}
			set{
				_MonThi_ID=value;
				if(_MonThi_ID!=null){
					_IsNullMonThi_ID=false;
					_InternalChangedIsNullMonThi_ID=true;
				}
			}
		}
		[DataMember]
		public double Diem{
			get{return _Diem;}
			set{
				_Diem=value;
				if(_Diem!=null){
					_IsNullDiem=false;
					_InternalChangedIsNullDiem=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DiemThiDauVaoEntityBase*****************************************/
	/*****************************************************************************************************/
}

